package com.ndpmedia.fb.pmd.configration.common;

import java.util.Map;

/**
 * Created by Mikey.zhaopeng on 2014/10/11 16:42.
 * Email mikey.zhao@ndpmedia.com
 */
public class Result {
    private int status;
    private String dateTime;
    private String message;
    private Object data;
    private Page page;

    public Result() {
    }

    public Result(int status, Object data, String message) {
        this.status = status;
        this.data = data;
        this.message = message;
    }

    public Result(int status, Object data, Page page, String message) {
        this.status = status;
        this.data = data;
        this.page = page;
        this.message = message;
    }

    public Result(int status, String dateTime, String message) {
        this.status = status;
        this.dateTime = dateTime;
        this.message = message;
    }

    public Page getPage() {
        return page;
    }

    public void setPage(Page page) {
        this.page = page;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public String getDateTime() {
        return dateTime;
    }

    public void setDateTime(String dateTime) {
        this.dateTime = dateTime;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
